package com.swh;/*
@author FJT
@description
@date2021/1/11
*/


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//@SpringBootApplication(exclude = MongoAutoConfiguration.class)
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class);
    }
    /**
     * 配置跨域访问的过滤器
     * @return
     */
//    @Bean
//    public FilterRegistrationBean registerFilter(){
//        FilterRegistrationBean bean = new FilterRegistrationBean();
//        bean.addUrlPatterns("/*");
//        bean.setFilter(new CrosFilter());
//        return bean;
//    }

}
